# coding:gbk
from __future__ import unicode_literals
from dirscanner import dirdog

from mongoer import dbobjects
watch_path = dbobjects.settings.find_one({'name':'watch_dir'})['value']

dog = dirdog.dirdog([watch_path])

dog.run()



